package com.yjh.admin.entity.chronic;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 体征参考
 *
 * @author GuoBin
 * @date 2020-08-14 16:51:45
 */
@Data
@TableName("reference")
@EqualsAndHashCode(callSuper = true)
public class Reference extends Model<Reference> {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@ApiModelProperty(value = "")
	@TableId
	private Integer referenceId;
	/**
	 * 参考名
	 */
	@ApiModelProperty(value = "参考名")
	private String referenceName;
	/**
	 * 参考值
	 */
	@ApiModelProperty(value = "参考值")
	private String referenceValue;

	/**
	 * 标识
	 */
	@ApiModelProperty(value = "标识")
	private String   code;


	@ApiModelProperty(value = "单位")
	private String unit;
	/**
	 * 类型
	 */
	@ApiModelProperty(value = "类型")
	private Integer type;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private LocalDateTime createTime;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	@TableField(fill = FieldFill.UPDATE)
	private LocalDateTime updateTime;

}
